package com.example.springbook.mapper;

import com.example.springbook.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
public interface UserInfoMapper {
    @Select("select * from user_info where user_name=#{name}")
   UserInfo getUserInfo(String name);
}
